package com.CST.service.cb;

import com.CST.common.api.Response;
import com.CST.entity.cb.BdDepartment;
import com.CST.entity.cb.RuleAmortization;
import com.CST.entity.cb.selectInfo;

import java.util.List;

/**
 * <p></p>
 *
 * @author: y
 * @create: 2021-11-03 14:23
 **/

public interface IRuleAmortizationService {

    List<RuleAmortization> getRuleAmortization(RuleAmortization entity);

    RuleAmortization getRuleAmortizationById(RuleAmortization entity);

    List<selectInfo> getYearMonth();

    List<BdDepartment> checkNoAmortizationDept(Integer year, Integer month);

    Response addRuleAmortization(RuleAmortization entity);

    Response insertBatchRuleAmortization(RuleAmortization entity);

    Response modifyRuleAmortization(RuleAmortization entity);

    Response batchDeleteRuleAmortization(List<Integer> ids);

}